package main
import(
  "time"
  "github.com/toolkits/net/httplib"
  "fmt"
)


func main() {
    url := "http://sr-dev.msmartlife.cn/alert_notify/voicenotify"
    r := httplib.Post(url).SetTimeout(5*time.Second, 10*time.Second)
    r.Param("phoneNum", "15118178754")
    content := "磁盘使用量告警"
    r.Param("content", content)
    r.Param("alarmtpye", "语音告警2")
    r.Header("Authorization", "Basic YWRtaW46YWRtaW4=")
    resp, err := r.String()
    if err != nil{
        fmt.Println(1111, err)
        return
    }
    fmt.Println(resp)

}
